package com.foton.lotterydomain.activity.model.req;


import java.util.Date;

/**
 * @Author RenPu
 * @Date 2024/1/2 15:06
 * @Version 1.0
 * @Description: 参与活动结果请求实体
 **/
public class PartakeReq {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 活动领取时间
     */
    private Date partakeDate;



    public PartakeReq() {
    }

    public PartakeReq(Long userId, Long activityId) {
        this.userId = userId;
        this.activityId = activityId;
    }


    public PartakeReq(Long userId, Long activityId, Date partakeDate) {
        this.userId = userId;
        this.activityId = activityId;
        this.partakeDate = partakeDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Date getPartakeDate() {
        return partakeDate;
    }

    public void setPartakeDate(Date partakeDate) {
        this.partakeDate = partakeDate;
    }

    @Override
    public String toString() {
        return "PartakeReq{" +
                "userId=" + userId +
                ", activityId=" + activityId +
                ", partakeDate=" + partakeDate +
                '}';
    }
}
